// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
  devtools: { enabled: false },
  modules: [
    // ...
    'tdesign-vue-next/es/nuxt',
    '@nuxtjs/tailwindcss',
    '@pinia/nuxt'
  ],

  //css
  css: [
    '~/assets/css/main.css',
    // '~/assets/css/tdesign.css',
  ],

  // app
  app: {
    head: {
      bodyAttrs: {
        style: 'padding: 0px; margin: 0px;'
      }
    },
    pageTransition: { name: 'page', mode: 'out-in' },
    layoutTransition: { name: 'layout', mode: 'out-in' }
  },


  build: {
    transpile: ['tdesign-vue-next'],
  }
})
